<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
ArrayList li = (ArrayList) request.getAttribute("dqueryresult");
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  </head>
  <body>
    <form id="DQueryForm" name="DQueryForm" method="get" action="dquery.dll">
    	<input type="hidden" size="80" id="dqueryname" name="dqueryname" value="http://www.chairs.gc.ca/web/chairholders/viewprofile_e.asp?id=" />
    	<input type="text" size="80" id="d" name="d" disabled="disabled" value="http://www.chairs.gc.ca/web/chairholders/viewprofile_e.asp?id=" />
    	<input type="submit" value="ok"/>
    	<input type="reset" value="reset"/>
    </form>
    
    <%if(li != null && !li.isEmpty())
    {
    	for(int i = 0; i < li.size(); i++)
    	{
    		%><a target="_blank" href="<%=li.get(i) %>"><%=li.get(i) %></a><br /><%
    	}
    } %>
  </body>
</html>
